import sys
sys.path.append('../kernel')
sys.path.append('../model')
import jieba
import cg_info,time

i_model = cg_info.InfoModel()

jieba.load_userdict('./dict.txt')
data = i_model.get_title(1)
for t_v in data:
    seg_list = jieba.cut(t_v['title'])
    print("/ ".join(seg_list))  # 全模式
    # time.sleep(2)